/**
 * Copyright &copy; 2021-2026 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.servicecenter.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.servicecenter.service.dto.ChargePostDTO;
import com.jeeplus.servicecenter.service.dto.UserInformationDTO;
import com.jeeplus.sys.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户MAPPER接口
 *
 * @author jeeplus
 * @version 2021-05-16
 */
public interface UserInformationMapper extends BaseMapper <User> {

    /**
     * 获取用户列表
     *
     * @param queryWrapper
     * @return
     */
    IPage <UserInformationDTO> findList(Page <UserInformationDTO> page, @Param(Constants.WRAPPER) QueryWrapper queryWrapper);
    IPage <UserInformationDTO> MyFindPage(Page <UserInformationDTO> page, @Param("postId") String postId, @Param("roleId") String roleId,@Param("no") String no,@Param("dealTime") String dealTime,@Param("status") String status);
    long findTotal(@Param("postId") String postId);
    List<ChargePostDTO> queryByUserId(@Param("userId") String userId , @Param("identify") String identify);
}
